<h1>编辑用户</h1>

<% form_tag :action => 'update',:id=> @user do %>
  <%= render :partial => 'form' %>
  <%= hidden_field :user, :id %>
  <p>
    <%= submit_tag '确定' %>
  </p>
<% end %>
<%= link_to '返回', :action => "index" %>
